package boKe.reflect.spring;

public class Main {
	
	public static void main(String[] args) {
		XmlApplicationContext context=new XmlApplicationContext("bean.xml");
		PersonService service=(PersonService) context.getBean("personService");
		System.out.println(service.getName());
	}

}
